package cn.com.shopec.erp.financing.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @ClassName: FreightSettlementDetail
 * @Description: 运费结算明细单实体表
 * @author: gaoyaxiong
 * @date: 2013-5-27 下午11:14:13
 */
@Entity
@Table(name = "TBL_FREIGHT_SETTLEMENT_DETAIL")
public class FreightSettlementDetail implements Serializable  {

	private static final long serialVersionUID = 1L;
	/** id **/
	private String id;
	/** 结算单据号 **/
	private String statementNo;
	/** 快递单号 **/
	private String expressNo;
	/** 订单号 **/
	private String orderNo;
	
	private String orderTime;
	/** 发货地址 **/
	private String sendAddress;
	/** 货品重量 **/
	private double productWeight;
	/** 物流费用 **/
	private double logisticsExpenses;
	/** 发货日期 **/
	private String sendDate;
	/** 结算时间状态 **/
	private int settlementPeriodState;
	/** 删除标志 **/
	private int deleteFlag;
	/**财务结算明细部分结算标志**/
	private String checkFlag;
	


	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false, length = 32)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "statement_no")
	public String getStatementNo() {
		return statementNo;
	}

	public void setStatementNo(String statementNo) {
		this.statementNo = statementNo;
	}

	@Column(name = "express_no")
	public String getExpressNo() {
		return expressNo;
	}
	@Column(name="ORDER_TIME")
	public String getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}

	public void setExpressNo(String expressNo) {
		this.expressNo = expressNo;
	}

	@Column(name = "order_no")
	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	@Column(name = "send_address")
	public String getSendAddress() {
		return sendAddress;
	}

	public void setSendAddress(String sendAddress) {
		this.sendAddress = sendAddress;
	}

	@Column(name = "product_weight")
	public double getProductWeight() {
		return productWeight;
	}

	public void setProductWeight(double productWeight) {
		this.productWeight = productWeight;
	}

	@Column(name = "logistics_expenses")
	public double getLogisticsExpenses() {
		return logisticsExpenses;
	}

	public void setLogisticsExpenses(double logisticsExpenses) {
		this.logisticsExpenses = logisticsExpenses;
	}

	@Column(name = "send_date")
	public String getSendDate() {
		return sendDate;
	}

	public void setSendDate(String sendDate) {
		this.sendDate = sendDate;
	}

	@Column(name = "settlement_period_state")
	public int getSettlementPeriodState() {
		return settlementPeriodState;
	}

	public void setSettlementPeriodState(int settlementPeriodState) {
		this.settlementPeriodState = settlementPeriodState;
	}

	@Column(name = "delete_flag")
	public int getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(int deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	@Column(name = "PART_FLAG")
	public String getCheckFlag() {
		return checkFlag;
	}

	public void setCheckFlag(String checkFlag) {
		this.checkFlag = checkFlag;
	}

	
	

}
